import config from "@/config"
import http from "@/utils/request"

export default {
	list: {
		url: `${config.API_URL}/environment/list`,
		name: "环境管理列表",
		get: async function(params){
			return await http.get(this.url, params);
		}
	},
	save: {
		url: `${config.API_URL}/environment/save`,
		name: "保存环境管理",
		post: async function(data){
			return await http.post(this.url, data);
		}
	},
	delete: {
		url: `${config.API_URL}/environment/delete`,
		name: "删除环境管理",
		post: async function(data){
			return await http.post(this.url, data);
		}
	}
}